<?php
class weichat extends CI_Controller {

	public function index()
	{

	}
	public function join($userid)
	{
		$this->load->model('sign_model');
		$aciveInfo = array(
		'user_id'		=>	$userid,
		'active_id'		=>	'4',
		'last_date'		=>	date("Y-m-d"),
		'sign_time'  => 	"1",
		'act_num'			=> 	'10',
		'isPaid'			=> 	'0'
		);
		$this->sign_model->join($aciveInfo);
		return;
	}
	
    public function sign($id)
    {
		$this->load->model('sign_model');
		$this->sign_model->sign($id);
    }
}